package com.tomato.drugstore.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UpdateCategoryForm {
    @ApiModelProperty("类目id")
    @NotNull(message = "类目id必填")
    private Integer categoryId;

    @ApiModelProperty("类目名称")
    @NotNull(message = "类目名称必填")
    private String categoryName;

    @ApiModelProperty("类目类型")
    @NotNull(message = "类目类型必填")
    private String categoryType;

    @ApiModelProperty("类目父类型")
    @NotNull(message = "类目父类型必填")
    private String categoryParentType;
}
